package com.example.entity;

import java.util.List;

/**
 * 团队实体类
 *
 * @author fyxw
 */
public class Team {
    /**
     * 团队编号
     */
    private String number;
    /**
     * 队长
     */
    private User monitor;

    /**
     * 团队成员
     */
    private List<User> members;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public User getMonitor() {
        return monitor;
    }

    public void setMonitor(User monitor) {
        this.monitor = monitor;
    }

    public List<User> getMembers() {
        return members;
    }

    public void setMembers(List<User> members) {
        this.members = members;
    }

    @Override
    public String toString() {
        return "Class{" +
                "number='" + number + '\'' +
                ", monitor=" + monitor +
                ", members=" + members +
                '}';
    }
}
